<#assign ctx=request.contextPath />
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>维修审核</title>
    <link rel="stylesheet" href="${ctx}/css.css">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.10&key=9b29a6048cb5ef7de6f503dc38e32d0c"></script>
    <script type="text/javascript" src="${ctx}/show-geom-list.js"></script>
</head>
<body>
<div class="top">
    <a href="${ctx}/hello" class="backtrack"><img src="${ctx}/0.png"></a>
    <a href="javascript:history.back();" class="return"><img src="${ctx}/12.png"></a>
    <div class="box">
        维修审核
    </div>
</div>
<div class="empty"></div>
<#if (errors?? && errors?size>0)>
    <ul class="hint">
    <#list errors as err>
        <li>${err}</li>
    </#list>
    </ul>
</#if>

<form id="fmr1" action="${ctx}/lossMng/completeFixCheck/${task.id}">
    <table class="list_box">
        <tr class="lo_7" >
            <td class="lo_3">维修队ID</td>
            <td class="lo_4" colspan="2">${ticket.fixerId!""}</td>
        </tr>
        <tr>
            <td class="lo_3">维修情况</td>
            <td class="lo_4" colspan="2">${ticket.fixSummary!""}</td>
        </tr>
        <tr>
            <td class="lo_3" rowspan="3">漏点照片一</td>
            <td class="lo_11">漏点</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto1)??>
                    <a href="${ticket.fixPhoto1}" target="_blank">
                <img src="${ticket.fixPhoto1}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_11">抢修</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto1b)??>
                    <a href="${ticket.fixPhoto1b}" target="_blank">
                <img src="${ticket.fixPhoto1b}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_11">回填</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto1c)??>
                    <a href="${ticket.fixPhoto1c}" target="_blank">
                <img src="${ticket.fixPhoto1c}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_3" rowspan="3">漏点照片二</td>
            <td class="lo_11">漏点</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto2)??>
                    <a href="${ticket.fixPhoto2}" target="_blank">
                <img src="${ticket.fixPhoto2}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_11">抢修</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto2b)??>
                    <a href="${ticket.fixPhoto2b}" target="_blank">
                <img src="${ticket.fixPhoto2b}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_11">回填</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto2c)??>
                    <a href="${ticket.fixPhoto2c}" target="_blank">
                <img src="${ticket.fixPhoto2c}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_3" rowspan="3">漏点照片三</td>
            <td class="lo_11">漏点</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto3)??>
                    <a href="${ticket.fixPhoto3}" target="_blank">
                <img src="${ticket.fixPhoto3}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_11">抢修</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto3b)??>
                    <a href="${ticket.fixPhoto3b}" target="_blank">
                <img src="${ticket.fixPhoto3b}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_11">回填</td>
            <td class="lo_12">
                <#if (ticket.fixPhoto3c)??>
                    <a href="${ticket.fixPhoto3c}" target="_blank">
                <img src="${ticket.fixPhoto3c}?x-oss-process=image/resize,w_200,limit_0" style="max-width: 200px;"/>
                    </a>
                </#if>
            </td>
        </tr>
        <tr>
            <td class="lo_3">维修位置</td>
            <td class="lo_4" colspan="2">
                <div id="map2" class="map"></div>
                <input type="hidden" id="fixLoc" value="${ticket.fixLoc!""}">
                <script type="text/javascript">
                    var fixLoc = document.getElementById("fixLoc").value;
                    showGeomList(fixLoc, "map2");
                </script>
            </td>
        </tr>
        <tr>
            <td class="lo_3 lo_5">管径</td>
            <td class="lo_4 lo_5" colspan="2">
                <input type="text" name="pipeSize" value="${ticket.pipeSize!""}" class="flow lo_5">
            </td>
        </tr>
        <tr>
            <td class="lo_3 lo_5">材质</td>
            <td class="lo_4 lo_5" colspan="2">
                <input type="text" name="pipeStuff" value="${ticket.pipeStuff!""}" class="flow lo_5">
            </td>
        </tr>
        <tr>
            <td class="lo_3 lo_5">确认维修漏量(m³/h)</td>
            <td class="lo_4 lo_5" colspan="2"><input class="flow lo_5" type="text" name="confirmFixLoss" value="${(ticket.fixLoss?string("0.0"))!""}">
            </td>
        </tr>
        <tr>
            <td class="lo_3 lo_5">漏损原因</td>
            <td class="lo_4 lo_5" colspan="2"><input title="漏损原因" name="lossReason" type="text" value="${(ticket.lossReason)!""}" class="flow lo_5"></td>
        </tr>
        <tr>
            <td class="lo_3" colspan="3"><input type="submit" value="  确认维修完毕" class="affirm_1"></td>
        </tr>
    </table>
</form>

</body>
</html>
